|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValue
de.bsvrz.dav.daf.communication.dataRepresentation.AttributeValue
public class AttributeValue
TBD Beschreibung
| Field Summary | |
|---|---|
private static NumberFormat |
_numberFormat
Eine Hilfsvariable für die Zahlenformatierung |
private static int |
_precision
Wieviel Stellen Genauigkeit bei Gleitkommazahlen |
private DataValue |
_value
Der Attributeswert |
| Fields inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValue |
|---|
_attribute, _dataModel, _hashCode |
| Constructor Summary | |
|---|---|
AttributeValue(DataModel dataModel,
Attribute attribute)
Erzeugt ein neues Objekt mit den gegebenen Parametern. |
|
| Method Summary | |
|---|---|
AttributeBaseValue |
cloneObject()
Erzeugt eine Kopie dieses Attributs. |
AttributeBaseValue |
clonePlain()
Erzeugt eine Kopie dieses Attributs, allerdings ohne Wert. |
boolean |
equals(AttributeBaseValue attributeBaseValue)
Überprüft, ob das Attribut/Attributwert mit dem angegebenen Attribut übereinstimmt. |
private StringBuffer |
getFormatedValue(IntegerAttributeType attributeType,
long value)
|
Object |
getValue()
Gibt den Wert des Attributs zurück. |
int |
hashCode()
Gibt den Hashcode zurück |
boolean |
hasValue()
Ermittelt, ob dieses Attribut einen Wert besitzt. |
void |
setValue(DataValue value)
Setzt den Wert dieses Attributs. |
void |
writeValue(DataOutputStream out)
Schreibt den Wert dieses Attributs in einen Ausgabestrom |
| Methods inherited from class de.bsvrz.dav.daf.communication.dataRepresentation.AttributeBaseValue |
|---|
getAttribute, getName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int _precision
private static final NumberFormat _numberFormat
private DataValue _value
| Constructor Detail |
|---|
public AttributeValue(DataModel dataModel,
Attribute attribute)
dataModel - Datenmodellattribute - Attribute| Method Detail |
|---|
public final Object getValue()
AttributeBaseValue
getValue in class AttributeBaseValuepublic final void setValue(DataValue value)
AttributeBaseValue
setValue in class AttributeBaseValuevalue - neuer Wert des Attributs
public final void writeValue(DataOutputStream out)
throws IOException
AttributeBaseValue
writeValue in class AttributeBaseValueout - Ausgabestrom
IOException - Falls der Schreibvorgang nicht durchgeführt werden konnte.public final boolean equals(AttributeBaseValue attributeBaseValue)
AttributeBaseValue
equals in class AttributeBaseValueattributeBaseValue - zu vergleichendes Attribut
true, wenn die Attribute gleich sind, sonst falsepublic final int hashCode()
hashCode in class Objectpublic final AttributeBaseValue clonePlain()
AttributeBaseValue
clonePlain in class AttributeBaseValuepublic final AttributeBaseValue cloneObject()
AttributeBaseValue
cloneObject in class AttributeBaseValuepublic final boolean hasValue()
AttributeBaseValue
hasValue in class AttributeBaseValuetrue, wenn das Attribut einen Wert besitzt, sonst false
private final StringBuffer getFormatedValue(IntegerAttributeType attributeType,
long value)
throws ConfigurationException
ConfigurationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||